﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace SquareChaseBot
{
    /// <summary>
    /// The RECT structure defines the coordinates of the upper-left and 
    /// lower-right corners of a rectangle.
    /// </summary>
    /// <remarks>
    /// Ref: http://www.pinvoke.net/default.aspx/Structures/RECT.html
    /// </remarks>
    [StructLayout(LayoutKind.Sequential)]
    internal struct RECT
    {
        public int Left;        // x position of upper-left corner
        public int Top;         // y position of upper-left corner
        public int Right;       // x position of lower-right corner
        public int Bottom;      // y position of lower-right corner
    }
}
